#include <stdio.h>
#include <string.h>

int main(int argc, char const *argv[])
{
    char *p = "        abcdefg       ";
    int i = 0;
    int n = 0;
    while (p[i] != '\0')
    {
        if (p[i] != ' ')
        {
            n++;
        }
        i++;
    }
    printf("total count:%d\n", n);

    return 0;
}
